package com.zxlspace.collection2.map;

import java.util.ArrayList;
import java.util.List;

public class ClassRoom {

    private String classNo; //班号

    private List<Student> studentList;  //学生

    private double totalScore; //总分

    public ClassRoom(String classNo) {
        this();  //初始化学生数
        this.classNo = classNo;
    }

    public ClassRoom() {
        studentList = new ArrayList<>();
    }

   public String getClassNo() {
       return classNo;
   }

    public void setClassNo(String classNo) {
        this.classNo = classNo;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }

    public double getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(double totalScore) {
        this.totalScore = totalScore;
    }
}
